export const resolveData = (data, mapData) => {
  let cellFormData = []
  for (const key in data) {
    if (typeof mapData[key] !== 'undefined' && typeof data[key] !== 'object') {
      cellFormData.push({
        label: mapData[key],
        value: data[key]
      })
    }
  }
  return cellFormData
}
